projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b569d7e
)
(Fformat): Fix casts when assigning buf.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 3 May 1998 02:24:36 +0000
(
02:24
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 3 May 1998 02:24:36 +0000
(
02:24
+0000)
src/editfns.c
patch
|
blob
|
history
diff --git
a/src/editfns.c
b/src/editfns.c
index 315354ec44bda753161d7d9fcf24af512a59f72b..5d45f7c4ede623884aa507fd1254d18680c9900a 100644
(file)
--- a/
src/editfns.c
+++ b/
src/editfns.c
@@
-2455,9
+2455,9
@@
Use %% to put a single % into the output.")
/* Allocate the space for the result.
Note that TOTAL is an overestimate. */
if (total < 1000)
- buf = (
unsigned
char *) alloca (total + 1);
+ buf = (char *) alloca (total + 1);
else
- buf = (
unsigned
char *) xmalloc (total + 1);
+ buf = (char *) xmalloc (total + 1);
p = buf;
nchars = 0;